﻿namespace EFS.Common.UI.Controls
{
	public class ChildWindow : System.Windows.Controls.ChildWindow
	{
		public ChildWindow()
		{
			// register close event
			this.Closed += new System.EventHandler(ChildWindow_Closed);
		}

		private void ChildWindow_Closed(object sender, System.EventArgs e)
		{
			System.Windows.Application.Current.RootVisual.SetValue(System.Windows.Controls.Control.IsEnabledProperty, true);
		}
	}

}